<include file="public@header"/>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<title>选择班级</title>
	<link rel="stylesheet" type="text/css" href="__STATIC__/user_center/css/ui.css">
	<link href="iTunesArtwork@2x.png" sizes="114x114" rel="apple-touch-icon-precomposed">
	<link type="text/css" rel="stylesheet" href="__STATIC__/user_center/css/basic.css" />
</head>
<body>
	<!--header 开始-->
  <header style="width:100%;">
    <div class="header" style="width:100%;"> 
		<a class="new-a-back" href="javascript:history.back();"><span style="text-indent:0px;"><返回</span></a>
		<h2>选择班级</h2>
		<!-- <a class="new-a-jd" id="trigger-overlay" href="javascript:void(0)"> <span>导航菜单</span> </a> -->
    </div>
  </header>
  <!--header 结束-->
<div class="container-fluid" style="margin-top:20px;">
	<div class="row-fluid">
		<div class="span12">
			<ul class="thumbnails">
			<foreach name="class" item="vo">
				<li class="span12" onclick="javascript:window.location.href='{:url('portal/WxAdmin/setcookie_class',['id'=>$vo.id])}'">
					<div class="thumbnail">
						<div class="caption">
							<h1 style="font-size:16px;">班级：{$vo.name}</h1>
							<p style="font-size:14px;">教室：{$vo.classroom}</p>
						</div>
					</div>
				</li>
			</foreach>
			<if condition="count($class)==0">
				<p align="center">没有查询到您的班级哦！</p>
			</if>
			</ul>
		</div>
	</div>
</div>
</body>
</html>